package com.stylefeng.guns.modular.hhtb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.hhtb.model.Configs;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.hhtb.model.LogPuresAccualDto;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 系统配置表 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-29
 */
public interface IConfigsService extends IService<Configs> {
    /**
     * 批量更新
     * @param configs
     */
    public Object updateByIds(List<Configs> configs);

    /**
     * 根据configs表page字段进行分页
     */
    List<Map<String,Object>> configsAllist(Page<Map<String,Object>> pages, Configs configs);

    //阿里云图片上传
    public Map<String,Object> upload(HttpServletRequest req);

    public  String selectValue (Map<String,Object> map);
}
